package com.yc.boot.train.model.find;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.yc.boot.common.model.base.BaseEntity;
import com.yc.boot.common.model.base.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2021/12/30/16:43
 * @Description:  员工分数管理菜单查询
 */
@Data
@Accessors(chain = true)
public class GradeManage{
    @ApiModelProperty(value = "回馈表主键id")
    private Long  keyId;

    @TableId("g.teacher_id")
    private Long id;

    @ApiModelProperty(value = "课程名")
    private String courseName;

    @TableField("u.user_name")
    @ApiModelProperty(value = "员工名")
    private String empName;

    @ApiModelProperty(value = "分数")
    private int grade;

    @ApiModelProperty(value = "是否合格")
    private String isQualified;

    @ApiModelProperty("开课老师")
    private Long courseBelong;

    @ApiModelProperty(value = "教师评语")
    private String comment;

    @ApiModelProperty(value = "学生回馈信息")
    private String studentFeedback;

    @TableField(value = "g.is_del")
    @TableLogic(delval = "1", value = "0")
    @ApiModelProperty(value = "是否已删除")
    private Boolean isDelete;
}
